package com.intech.android.demo.cms.dao.interfaces;

import com.intech.android.demo.cms.bo.TextContent;
import com.intech.android.demo.cms.enums.Status;

import java.util.List;

public interface TextContentDAO
{

    public TextContent getById(Integer id);

    public void save(TextContent textContent);

    public void delete(TextContent textContentContent);

    public void delete(Integer textContentId);

    public List<TextContent> getAll();

    public List<TextContent> getAll(Integer rows);

    public List<TextContent> findTextContentsByName(String name);

    public List<TextContent> findTextContentsByAdvertiser(String name);

    public List<TextContent> findTextContents(List<Integer> regionsIds, List<Integer> categoriesId, Status status, Double chosenFrom, Double chosenTo);
}
